package com.css.fxfzmhwz.zcpt.sys.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * @version v1.0
 * @ClassName: DeptEntity
 * @Description: TODO(一句话描述该类的功能)
 * @Author: YZF
 * @Date: 2021/4/29 9:22
 */
public class DeptEntity {
    /**
     * 组织ID
     */
    private String deptId;
    /**
     * 组织编码
     */
    private String deptCode;
    /**
     * 组织名称
     */
    private String deptName;
    /**
     * 组织负责人ID
     */
    private String leaderId;
    /**
     * 上级组织ID
     */
    private String parentId;
    /**
     * 组织全路径，层次码
     */
    private String allParentId;
    /**
     * 部门等级=0:省级 1:市级 2:县级
     */
    private Integer deptLevel;
    /**
     * 顺序号
     */
    private Integer sort;
    /**
     * 组织类型
     */
    private String deptType;
    /**
     * 行政区划，机构属性
     */
    private String divisionId;
    /**
     * 联系电话，机构属性
     */
    private String telephone;
    /**
     * 地址，机构属性
     */
    private String address;
    /**
     * 邮编，机构属性
     */
    private String zipCode;
    /**
     * 组织机构等级数
     */
    private Integer depth;
    /**
     * 扩展字段
     */
    private String extend1;
    /**
     * 扩展字段
     */
    private String extend2;
    /**
     * 扩展字段
     */
    private String extend3;
    /**
     * 扩展字段
     */
    private String extend4;
    /**
     * 扩展字段
     */
    private String extend5;
    /**
     * 扩展字段
     */
    private String extend6;
    /**
     * 扩展字段
     */
    private String extend7;
    /**
     * 扩展字段
     */
    private String extend8;
    /**
     * 扩展字段
     */
    private String extend9;
    /**
     * 扩展字段
     */
    private String extend10;
    /**
     * 是否有效=0:无效,1:有效
     */
    private String isValid;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 创建时间
     */
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 修改人
     */
    private String updateUser;
    /**
     * 修改时间
     */
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(String leaderId) {
        this.leaderId = leaderId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getAllParentId() {
        return allParentId;
    }

    public void setAllParentId(String allParentId) {
        this.allParentId = allParentId;
    }

    public Integer getDeptLevel() {
        return deptLevel;
    }

    public void setDeptLevel(Integer deptLevel) {
        this.deptLevel = deptLevel;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getDeptType() {
        return deptType;
    }

    public void setDeptType(String deptType) {
        this.deptType = deptType;
    }

    public String getDivisionId() {
        return divisionId;
    }

    public void setDivisionId(String divisionId) {
        this.divisionId = divisionId;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public Integer getDepth() {
        return depth;
    }

    public void setDepth(Integer depth) {
        this.depth = depth;
    }

    public String getExtend1() {
        return extend1;
    }

    public void setExtend1(String extend1) {
        this.extend1 = extend1;
    }

    public String getExtend2() {
        return extend2;
    }

    public void setExtend2(String extend2) {
        this.extend2 = extend2;
    }

    public String getExtend3() {
        return extend3;
    }

    public void setExtend3(String extend3) {
        this.extend3 = extend3;
    }

    public String getExtend4() {
        return extend4;
    }

    public void setExtend4(String extend4) {
        this.extend4 = extend4;
    }

    public String getExtend5() {
        return extend5;
    }

    public void setExtend5(String extend5) {
        this.extend5 = extend5;
    }

    public String getExtend6() {
        return extend6;
    }

    public void setExtend6(String extend6) {
        this.extend6 = extend6;
    }

    public String getExtend7() {
        return extend7;
    }

    public void setExtend7(String extend7) {
        this.extend7 = extend7;
    }

    public String getExtend8() {
        return extend8;
    }

    public void setExtend8(String extend8) {
        this.extend8 = extend8;
    }

    public String getExtend9() {
        return extend9;
    }

    public void setExtend9(String extend9) {
        this.extend9 = extend9;
    }

    public String getExtend10() {
        return extend10;
    }

    public void setExtend10(String extend10) {
        this.extend10 = extend10;
    }

    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
